package cloud.maque.module.system.service;

import cloud.maque.common.core.request.PageRequest;
import cloud.maque.module.system.entity.SysUser;
import cloud.maque.module.system.model.UserEditPassworkDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<SysUser> {


    IPage<SysUser> GetList(PageRequest<SysUser> pageReq);

    SysUser NewUser(SysUser data);

    SysUser EditUser(SysUser data);

    SysUser EditStatus(SysUser data);

    Boolean DeleteUser(String userId);

    Boolean EditPassword(UserEditPassworkDto data);

}
